using System.Collections;
using System.Collections.Generic;
using Life.ESound.Bridge;
using UnityEngine;

namespace Life.ESound.Bridge
{
    [System.Serializable]
    public class EffectAudioSeat
    {
        public AudioClip effectAudio;
        [Range(0,1f)]public float effectVolume = 1;

        public void Play()
        {
            if (ESoundBridge.IsInitialized)
            {
                ESoundBridge.PlayEffect(effectAudio, effectVolume);
            }
        }
    }
}


